﻿@model KhatVongViet.Models.Article
@{
    <div class="box-chitiet-tinnoibat-title">
        @if (!string.IsNullOrEmpty(Model.Title))
        {
            <div class="box-chitiet-tinnoibat-title-text">
                @Model.Title
            </div>
            <br />
        }
        else
        {
            <div class="box-chitiet-tinnoibat-title-text">
                <p>
                    Không đề</p>
            </div>
        }
        @if (Model.DateCreate != null)
        {
            <div class="box-chitiet-tinnoibat-datecreate">
                KVV | @Model.DateCreate 
            <!-- Begin Like and Share Button -->
            <div style=" float:right">
                <div class="addthis_toolbox addthis_default_style ">
                <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
                <a class="addthis_counter addthis_pill_style"></a>
                </div>
                <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=xa-537a3a86382c8a20"></script>
            </div>
            <!-- End Like and Share Button -->
            </div>
        }
        else
        {
            <div class="box-chitiet-tinnoibat-datecreate">
                Ngày tạo: Không xác định
            </div>
        }
        <div class="box-chitiet-tinnoibat-tomtat">
            @Model.Summary
            <br />
        </div>
    </div>
    <div class="box-chitiet-tinnoibat-detail">
        @Html.Raw(HttpUtility.HtmlDecode(Model.Context))
    </div>
}